package com.example.musicbox.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 帅哥是我
 * @since 2022-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MComment对象", description="")
public class MComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
      @TableId(value = "mId", type = IdType.AUTO)
    private Integer mid;

    @ApiModelProperty(value = "音乐id")
    @TableField("musicId")
    private Integer musicid;

    @ApiModelProperty(value = "用户id")
    @TableField("uId")
    private Integer uid;

    @ApiModelProperty(value = "用户姓名")
    @TableField("uName")
    private String uname;

    @ApiModelProperty(value = "评论内容")
    @TableField("uInfo")
    private String uinfo;

    @ApiModelProperty(value = "点赞数量")
    @TableField("goodCount")
    private Integer goodcount;

    @ApiModelProperty(value = "用户头像")
    @TableField("uPhoto")
    private String uphoto;


}
